A. :q
B. :w
C. q!
D. 😡
Advertisement
Related Mcqs:
- What command is used with vi editor to save file and remain in the editing mode ?
- A. x B. q! C. :w D. :q...
- While working with mail command, which command is used to save mail in a separate file ?
- A. s B. r C. w D. d...
- Which command is used to save the standard output in a file, as well as display it on the terminal ?
- A. more B. cat C. grep D. tee...
- What command is used to save the standard output in a file, as well as display it on the terminal ?
- A. tee B. grep C. cat D. more...
- Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it ?
- A. who | tee user.lst B. who > user.lst C. who >> user.lst D. who < user.lste...
- What command is used with vi editor to delete a single character ?
- A. x B. y C. a D. z...
- In vi editor, forward search is performed using the command?
- A. :pat B. ?pat C. /pat D. All of the above...
- What command is used with vi editor to move the cursor to the left ?
- A. h B. k C. j D. i...
- Which command will be used with vi editor to append text at end of line ?
- A. A B. a C. i D. I...
- Which command is used with vi editor to search a pattern in the forward direction ?
- A. / B. ? C. // D. ??...
Advertisement